package com.hotel.bean;

import java.util.Date;

public class Checkin {
	private String cname;
	private int cphone;
	private int cidcard;
	private Regist pid;
	private Hotelinfor hid;
	private Date startdate;
	private Date actendate;
	
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public int getCphone() {
		return cphone;
	}
	public void setCphone(int cphone) {
		this.cphone = cphone;
	}
	public int getCidcard() {
		return cidcard;
	}
	public void setCidcard(int cidcard) {
		this.cidcard = cidcard;
	}
	public Regist getPid() {
		return pid;
	}
	public void setPid(Regist pid) {
		this.pid = pid;
	}
	public Hotelinfor getHid() {
		return hid;
	}
	public void setHid(Hotelinfor hid) {
		this.hid = hid;
	}
	public Date getStartdate() {
		return startdate;
	}
	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}
	public Date getActendate() {
		return actendate;
	}
	public void setActendate(Date actendate) {
		this.actendate = actendate;
	}
	public Checkin(String cname, int cphone, int cidcard, Regist pid, Hotelinfor hid, Date startdate, Date actendate) {
		super();
		this.cname = cname;
		this.cphone = cphone;
		this.cidcard = cidcard;
		this.pid = pid;
		this.hid = hid;
		this.startdate = startdate;
		this.actendate = actendate;
	}
	public Checkin() {
		super();
	}
	@Override
	public String toString() {
		return "Checkin [cname=" + cname + ", cphone=" + cphone + ", cidcard=" + cidcard + ", pid=" + pid + ", hid="
				+ hid + ", startdate=" + startdate + ", actendate=" + actendate + "]";
	}

	
}
